home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CyberMycha 2003 May
/
cmycha200305.iso
/
MutantStorm
/
setup_mutantstorm_demo.exe
/
{app}
/
script
/
crystal_tiny.lua
< prev
next >
Wrap
Text File
|
2003-03-11
|
2KB
|
61 lines
-- leave me
local actor = ACTOR_preload()
-- leave me
-- default for this beastie
actor[cp_actor_name] = "crystal_tiny"
actor[cp_model_dir] = "beasties"
actor[cp_model_name] = "crystal-1_4"
actor[cp_move_type] = cmt_fixed_dirn + cmt_random
actor[cp_actor_type] = cat_crystal
actor[cp_i_collide_with_beasties] = cat_fence + cat_fizz + cat_player + cat_block + cat_blocker + cat_webblob + cat_mergeblob
-- actor[cp_these_collide_with_me] = cat_player + cat_bullet + cat_crystal
actor[cp_score] = 100
actor[cp_hit_power] = 5.0
-- movement
actor[cp_move_speed_min] = 0.175
actor[cp_move_speed_max] = 0.225
actor[cp_move_inertia_decn] = 1.0
actor[cp_spin_speed_min] = 1.0
actor[cp_spin_speed_max] = 5.0
-- spin1_x
actor[cp_turn_speed_moving] = 0.4
actor[cp_weight] = 3.0
actor[cp_launch_scale_min] = 100.0
actor[cp_launch_scale_max] = 100.0
actor[cp_launch_hue_shift] = color - 30
actor[cp_hit_delay] = 2.55
actor[cp_fade_in_translucent] = 1
actor[cp_difficulty_adjust_speed] = 25.0
actor[cp_max_explosion_multiply] = 0.0
-- leave me
c_preload_model( actor )
-- leave me
c_set_random_anim( "throb", 300.0, 600.0, 0.0, 0.0 )
c_add_sound_to_anim( "throb", "moon", 1 )
local seq = { 0.0 }
c_set_use_explosion_for( "bye_bye", "crystal1_tin", exp_no_align, 10.0, 0.0, 700.0, 900.0, seq )
c_add_particle_to_explosion( "crystal1_tin", "explode", "", "crystal1exp-tin" )
c_add_sound_to_explosion( "crystal1_tin", "explode", "crystal_exp4" )
c_add_sound_to_event( "hit_fence", "crystal_exp4" )
-- new state
-- new state